/**
 * base    : 基础业务API
 * buyer   : 买家API
 */
// 开发环境
const dev = {
	// common: "https://common-api.pickmall.cn",
	// buyer: "https://buyer-api.pickmall.cn",
	// common: "http://192.168.31.97:8890",
	// buyer: "http://192.168.31.97:8888",
	// common: "https://api.osisx.com/common-api",
	// buyer: "https://api.osisx.com",
	// buyer: "http://192.168.13.5:8888",
	// MBTI
	// buyer: "http://pbe6b739.natappfree.cc/xiaozhi"
	// buyer: "https://mbti.osisx.com/xiaozhi",
	// buyer: "https://mbti.osisx.com/chat"
	buyer: "http://192.168.13.233:3000"


};
// 生产环境
const prod = {
	// common: "https://common-api.pickmall.cn",
	// buyer: "https://buyer-api.pickmall.cn",
	// common: "http://192.168.31.97:8890",
	// buyer: "http://192.168.31.97:8888",
	// common: "https://api.osisx.com/common-api",
	// buyer: "https://api.osisx.com",
	// buyer: "http://192.168.13.5:8888",
	// MBTI
	// buyer: "http://pbe6b739.natappfree.cc/xiaozhi"
	// buyer: "https://mbti.osisx.com/xiaozhi"
	// buyer: "http://192.168.13.214:3000"
	// buyer: "http://47.97.185.142:3000"
	// buyer: "http://192.168.13.230:3000/chat"
	buyer: "https://mbti.osisx.com/chat"



};

//默认生产环境
let api = dev;
//如果是开发环境
if (process.env.NODE_ENV == "development") {
	api = dev;
} else {
	api = prod;
}
//微信小程序，app的打包方式建议为生产环境，所以这块直接条件编译赋值
// #ifdef MP-WEIXIN || APP-PLUS
api = prod;
// #endif

// api.buyer += "/buyer";
api.common += "/common";

export default {
	...api,
};